Fix for bug#5512, don't rely on SIGIO alone.
authorJan D. <jan.h.d@swipnet.se>
Wed, 10 Feb 2010 09:29:28 +0000 (10:29 +0100)
committerJan D. <jan.h.d@swipnet.se>
Wed, 10 Feb 2010 09:29:28 +0000 (10:29 +0100)
commit5ee31c558bf2b25b2127c174b289fe99fcfecce1
tree5530eed4f15b543dca68e74a31bd07cc1b2c078d
parent0bc63ba4fb2245a8bba2486be3bdb3d1c51f6c8a
Fix for bug#5512, don't rely on SIGIO alone.

(x_session_initialize): Move initialization of ice_fd and
doing_interact here.
(ice_connection_closed): New function.
(x_session_check_input, smc_die_CB, ice_io_error_handler)
(ice_conn_watch_CB, x_session_close): Call ice_connection_closed.
(x_session_check_input): Call IceCloseConnection if IceProcessMessages
returns I/O error.
(ice_conn_watch_CB): Call add_keyboard_wait_descriptor on ice_fd,
bug #5512.
src/ChangeLog
src/xsmfns.c